<template>
  <div id="personal_center">
    <div style="width: 12.1rem;margin: 0 auto;overflow: hidden;">
      <div class="personal_left">
        <personalLeft></personalLeft>
      </div>
      <div class="personal_right">
        <div class="personal_content">
          <router-view ref="view"></router-view>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import personalLeft from "./personal_left";
let vm;
export default {
  data: function() {
    return {};
  },
  components: {
    personalLeft
  },
  methods: {},
  created: function() {
    vm = this;
  }
};
</script>

<style lang="scss" scoped>
#personal_center {
  
  overflow-y: auto;
  overflow-x: hidden;
  background: #F4F4F4;
  padding-top: 0.28rem;
  .personal_left {
    width: 2.54rem;
    height: 4rem;
    border-radius: 8px;
    float: left;
    background-color: #ffffff;
    /*border-right: 0.01rem solid #e2e7ef;*/
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .personal_right {
    
    background-color: #ffffff;
    position: relative;
    margin-left: 0.24rem;
    width: 9.32rem;
    height: 100%;
    float: left;
  }

  .personal_content {
    height: 100%;
    
    overflow-y: auto;
    overflow-x: hidden;
    background: #f3f6fb;
  }

  /*滚动条*/
  .home_body::-webkit-scrollbar {
    width: 0.1rem;
  }
  .home_body::-webkit-scrollbar-thumb {
    border-radius: 0.5rem;
    background: #bbbbbb;
  }
  .home_body::-webkit-scrollbar-track {
    background: #f2f6fc;
  }
}
</style>